;cperl-mode.el: Allow running under Emacs >=27
authorHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 19:55:07 +0000 (21:55 +0200)
committerHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 19:58:34 +0000 (21:58 +0200)
commit96269209a3e22707635239d057be4feac217b4bc
treef907bff895e0125fd48143d8defee5cf7288bee0
parent650ee9e071eea2ff8504e056131efa9f6ac894e9
;cperl-mode.el: Allow running under Emacs >=27

I would like to advertise cperl-mode.el from the repository as a
workaround for bug#70948.  This can be achieved by safeguarding
the call to derived-mode-add-parents with a version check.

* lisp/progmodes/cperl-mode.el: Call derived-mode-add-parents only
if it is available.
lisp/progmodes/cperl-mode.el